import DAL from './dal.js';
import A01_Dal from './A01_Dal.js';

import util from './util.js'

import A02DAL from './A02_Dal.js'

import B01DAL from './B01_Dal.js'

// let t1 = {a:'1',b:null,c:'3'};

// for(var key in t1){
// 	console.log(key+'  :  '+t1[key])
// }

// let A01DB = new A01_Dal();
// let aa = await A01DB.SelectPersionInfosByPersionIDArray(['01B468FE-6772-405E-8367-E8E430D4F8F0'])
// aa = await A01DB.SelectCountByEthnicE('04')
// console.log(aa)

// aa = await A01DB.SelectMinorityPerson('zxy')
// console.log(aa)

// var ddd = new DAL();
// var A01DB = new A01_Dal();

 // var A02dddDAL = new A02DAL();
 // let ta = await A02dddDAL.SelectPersionIDIncludBranchOrgByOrgID('001.001.001.001.00X');
 // console.log(ta)
// let tempArray = new Array();
// ta.forEach(item=>{
// 	tempArray.push(item.A0000);
// })
// let tb = await A01DB.SelectPersionInfosByPersionID(tempArray);
// console.log(tb)

 // let B01db = new B01DAL();

// let tc = await B01db.SelectBranchOrgIDByOrgID('001.001.001.001');
// console.log(tc)

// let tq = await B01db.SelectOrgTree();
// console.log(tq);

// var persionids = await ddd.SelectPersionIDByFamilyName('zxy');
// console.log(persionids);
// var Familys = await ddd.SelectFamilyArrayByPersionID(persionids[0].A0000);
// console.log(Familys);


//  var t3 = await ddd.SelectOrgIDByOrgName('sjyj')
//  //console.log(t3)

// // var t4 = await ddd.SelectOrgIDByOrgName('市委')
// // console.log(t4);

// let t5 = await ddd.SelectPersionIDByOrgID("001.001.001.001");
// //console.log(t5)


// t5 = await ddd.SelectPersionIDIncludBranchOrgByOrgID("001.001.001.001");
// //onsole.log(t5)

//console.log(t3.length)
// for(let i=0;i<t3.length;i++){
// 	//console.log(t3[i])
// 	let t6 = await ddd.SelectPersionIDByOrgID(t3[i].B0111);
// 	//console.log(t6)
// }
//let t5 = await ddd.SelectPersionIDByOrgID('001.001.001.001.003');

// let t5 = await ddd.SelectPersionIDIncludBranchOrgByOrgID('001.001.001.001.003')
// console.log(t5)
// t3.forEach(function(ccc){
// 	console.log(ccc);
// 	let tttt = await ddd.SelectPersionIDByOrgID("001.001.001.001");
// });

// for(let i=0;i<t3.length;i++){
// 	console.log(t3[i]);
// 	let tttt = await ddd.SelectPersionIDByOrgID(t3[i].B0111);
// 	console.log(tttt)
// }


// let t8 = await A01DB.SelectPersionIDByPersionName("zxy");
// console.log(t8)
// let persionidArray = new Array();

// t8.forEach(item=>{
// 	persionidArray.push(item.A0000);
// })

// let t9 = await A01DB.SelectPersionInfosByPersionID(persionidArray);
// console.log(t9)

// var jjjj = await A01DB.SelectCountBySex(1)
// console.log(jjjj)

// var jjjj = await A01DB.SelectCountBySex('2\'')
// console.log("jjjj  "+jjjj)

var test1={
	a:'1',
	b:'2'
}

var test2={
	'c':'3',
	'd':4
}

console.log(test1.a)
console.log(test1['b'])

console.log(test2.c)
console.log(test2['d'])